<extend name="Public/common"/>
<block name="othercss">
</block>
<block name="body">
<div class="mian" style="background-color: #f4f4f4">
    <div class="help">
        <div class="box">
            <div class="loc"><i class="icon iconloc"></i>您现在在这里：<a href="{:urlrotue('/')}">百宝库</a> > <a href="{:urlrotue('Member/index')}">个人中心</a> > <span class="on">我的积分</span>
            </div>
            <div class="clearfix help_list">
                <div class="right">
                    <h2 class="title">我的积分</h2>
                    <div class="sq_list sq_list1"  style="background-image: url({$theme_path}/images/bgs.png)">
                        <div class="lans">
                            <p class="p1">可用的积分</p>
                            <p class="p2">{$point}</p>
                        </div>
                        
                    </div>
                    
                    
                        <table class="tablejifen">
        <tr>
            <th >发生时间</th>
            <th>增加/减少</th>
            <th >变更后积分</th>
            <th>备注</th>
        </tr>
          <foreach name="list" item="item">
        <tr>
            <td>{$item.create_time|stringtime=1}</td>
            <td><if condition='$item.point_change gt 0'>
                <span class="red">+{$item.point_change}</span>
               <else />
              <span  class="green">{$item.point_change}</span>
               </if>
             </td>
            <td>{$item.point}</td>
            <td>{$item.remark}</td>
        </tr>
        </foreach>
    </table>
                    
                    <div class="pagetion">
                          {$page}
                        </div>  
                </div>
                
                
                
                  <include file="Member:left_menu"/>
            </div>
        </div>
    </div>
</div>
</div>
</block>
<block name="otherjs">
<script>
    $(function () {
        $('.sq_pro .right4 .ul_list').hover(function () {
            $(this).children('ul').stop(true, true).fadeIn(300);
        }, function () {
            $(this).children('ul').stop(true, true).fadeOut(300);
        })
    })
</script>
</block>

